import request from '@/utils/request'

// 获取轮播图
export const getBanner = () => {
  return request({
    method: 'GET',
    url: '/banner'
  })
}
// 获取介绍模块
export const getIntroduce = type => {
  return request({
    method: 'GET',
    url: `/introduce?type=${type}`
  })
}
// 获取公司列表
export const getCompany = () => {
  return request({
    method: 'GET',
    url: '/company'
  })
}
// 获取家政人员列表
export const getBabySitter = () => {
  return request({
    method: 'GET',
    url: '/servers'
  })
}
// 获取各种类型选项
export const getoccupation = () => {
  return request({
    method: 'GET',
    url: '/Housekeeper'
  })
}

// 获取圆形图标
export const getroundById = () => {
  return request({
    method: 'GET',
    url: '/round'
  })
}
// 获取家政公司弹出层的各种类型数据
export const gethousekeeping = () => {
  return request({
    method: 'GET',
    url: '/region'
  })
}

// 获取招聘信息
export const getrecruit = () => {
  return request({
    method: 'GET',
    url: '/recruit'
  })
}

// 获取搜索的数据信息
export const getrecruitarr = () => {
  return request({
    method: 'GET',
    url: '/recruitarr'
  })
}
